package com.jrx.anytxn.customer.dto.creditinfo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

public class CreditInfo implements Serializable {

    /**
     * 产品ID
     */
    @NotBlank(message = "产品ID不能为空")
    @ApiModelProperty(value="产品ID",example="P5563")
    @Size(max = 32,message = "产品ID长度不能大于32位")
    private String productId;

    /**
     * 合同号
     */
    @ApiModelProperty(value="合同号")
    @Size(max = 32,message = "contractNumber长度不能大于32位")
    private String contractNumber;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }
}
